Infinite Loop (IL)

Description:

IL detects situations where a while, do, or for loop has a constant loop condition and no exit from the loop body. Such a loop executes infinitely.

Incorrect:

while not false do
begin
end;